package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataAreacheckDao;
import io.renren.entity.DataAreacheckEntity;
import io.renren.service.DataAreacheckService;



@Service("dataAreacheckService")
public class DataAreacheckServiceImpl implements DataAreacheckService {
	@Autowired
	private DataAreacheckDao dataAreacheckDao;
	
	@Override
	public DataAreacheckEntity queryObject(String id){
		return dataAreacheckDao.queryObject(id);
	}
	
	@Override
	public List<DataAreacheckEntity> queryList(Map<String, Object> map){
		return dataAreacheckDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataAreacheckDao.queryTotal(map);
	}
	
	@Override
	public void save(DataAreacheckEntity dataAreacheck){
		dataAreacheckDao.save(dataAreacheck);
	}
	
	@Override
	public void update(DataAreacheckEntity dataAreacheck){
		dataAreacheckDao.update(dataAreacheck);
	}
	
	@Override
	public void delete(String id){
		dataAreacheckDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataAreacheckDao.deleteBatch(ids);
	}

	@Override
	public void deleteByMonth(String month) {
		// TODO Auto-generated method stub
		dataAreacheckDao.deleteByMonth(month);
	}
	
}
